package com.hyt.model.cloudefile.apiparams;

import java.io.Serializable;
import java.util.Map;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 推送文件下载或者上传参数
 * 
 * @author huangwu
 * @since 2022-08-31
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "推送文件下载或者上传参数")
public class PushTaskParam implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "项目id")
	private String projectId;
	
	@ApiModelProperty(value = "机构id")
	private String officeId;
	
	@ApiModelProperty(value = "部门id")
	private String deptId;

	@ApiModelProperty(value = "所属系统，SystemEnum定义")
	private String systemType;
	
	@ApiModelProperty(value = "操作类型，OperateTypeEnum定义")
	private String operateType;
	
	@ApiModelProperty(value = "文件类型，FileTypeEnum定义")
	private String fileType;
	
	@ApiModelProperty(value = "文件url")
	private String fileUrl;

	@ApiModelProperty(value = "处理key，JobKeyEnum定义")
	private String fileKey;
	
	@ApiModelProperty(value = "动态参数")
	private Map<String, Object> dynamicAttr;
	
	@ApiModelProperty(value = "是否立即执行")
	private Boolean executeImmediately = Boolean.FALSE;

	@ApiModelProperty(value = "用户id")
	private String userId;

	@ApiModelProperty(value = "进度条id")
	private String progressId;

}
